package org.csu.mypetstore.service;

import jakarta.servlet.http.HttpSession;
import org.csu.mypetstore.commonResponse.CommonResponse;
import org.csu.mypetstore.domin.Account;



public interface MailService {

    CommonResponse<String> sendMimeMail( String email, HttpSession session);
    //根据邮箱查询

    CommonResponse<Account> loginIn(String email, String code, HttpSession session);

    CommonResponse<String> addEmail(String email,String username);
}
